#!/bin/bash


find Tests/files_dot -name "*.dot" | while read FILENAME;
do

DOTFILE="$FILENAME"

JPGFILE=$(basename $DOTFILE)
JPGFILE=${JPGFILE%.*}

dot $DOTFILE -T jpg -o Tests/files_jpg/$JPGFILE.jpg


done

echo "Se crearon las representaciones graficas en Tests/files_jpg"
